Node-RED block in Snap4City Microservice library node-red-contrib-snap4city-user is "get-anonymous-data">

It allows to retrieve data entered in My Personal Data of people who have made them anonymous and public.

Inputs

A JSON with these parameters:
variablename string
The name of the variable you want to retrieve
motivation string
The reason you entered earlier for saving the data
startdate date
Start date of the data search period
enddate date
End date of the data search period
Last number
If selected, it only retrieves the last n (where n is the value inserted) data of the inserted period

Outputs

Returns an array containing the public data that have been saved in the search period

Details

The node can receive a JSON with the parameters described in the Inputs section and with them generate the output JSON. If the values are not present in the input JSON, these are read by those in the configuration. If they are not present in either part, an error is generated for the necessary parameters.